Companion
Properties
MAX_HIGH_SURROGATE
Link copied to clipboard
MAX_LOW_SURROGATE
Link copied to clipboard
MAX_SURROGATE
Link copied to clipboard
MIN_HIGH_SURROGATE
Link copied to clipboard
MIN_LOW_SURROGATE
Link copied to clipboard
MIN_SURROGATE
Link copied to clipboard
SIZE_BYTES
Link copied to clipboard
Extensions
is Supplementary Code Point
Link copied to clipboard
Checks if the codepoint specified is a supplementary codepoint or not.
is Surrogate Pair
Link copied to clipboard
to Chars
Link copied to clipboard
Converts the codepoint specified to a char array. If the codepoint is not supplementary, the method will return an array with one element otherwise it will return an array A with a high surrogate in A0 and a low surrogate in A1.
to Code Point
Link copied to clipboard
Converts a surrogate pair to a unicode code point. Doesn't validate that the characters are a valid surrogate pair.